﻿using Newtonsoft.Json;
using System;

namespace MappingDTO.Admin
{
    /// <summary>
    /// 该数据表定义了菜单的信息
    /// </summary>
    [Serializable]
    public class SysMenuRetDTO
    {

        /// <summary>
        /// 关键码
        /// </summary>
        public String Code
        {
            get; set;
        }

        /// <summary>
        /// 父级关键码
        /// </summary>
        [JsonProperty("_parentId")]
        public String ParentCode
        {
            get; set;
        }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public String Name
        {
            get; set;
        }

        /// <summary>
        /// 菜单icon
        /// </summary>
        public String Icon
        {
            get; set;
        }

        /// <summary>
        /// 对应链接地址
        /// </summary>
        public String LinkRote
        {
            get; set;
        }

        /// <summary>
        /// 排序字段
        /// </summary>
        public Int32? Sort
        {
            get; set;
        }
    }
}
